package com.iuv.baike;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * TODO 问题一 申明自己为SpringBoot的启动类
 */
@SpringBootApplication
/*
 * END
 */
public class BaiKeStatusApplication extends SpringBootServletInitializer {

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(BaiKeStatusApplication.class);
    }

    public static void main(String[] args) {
        SpringApplication.run(BaiKeStatusApplication.class, args);
    }

}
